<fieldset <? if (isset($this->cssclass)) { ?> class="<?=$this->cssclass ?>" <? } ?> <? if (isset($this->id)) { ?> id="<?=$this->id ?>" <? } ?> <? if (isset($this->name)) { ?> name="<?=$this->name ?>" <? } ?>>

<? 
foreach ($this->fields as $field) {
	echo($field);
} 
?>

</fieldset>